<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <title>5.v-cloak</title>
    <style>
      [v-cloak] {
        display: none;
      }
    </style>
  </head>
  <body>
    <!-- 准备好一个容器-->
    <div id="demo">
      <h2 v-cloak>学校名称：{{school}}</h2>
    </div>

    <!-- 引入Vue -->
    <script type="text/javascript" src="../../vue.js"></script>

    <script type="text/javascript">
      new Vue({
        el:'#demo',
        data:{school:'尚硅谷'}
      })
    </script>

  </body>
</html>